@model Student;
<form asp-action="Add">
    <label>学生姓名:<input asp-for="Name"></label>
    <label>学生性别:<input asp-for="Sex"></label>
    <label>学生年龄:<input asp-for="Age"></label>
    <input type="submit" value="保存">
    <a asp-action="Index">取消</a>
</form>